import requests from '../common/request'
// 弹窗内容
export function getPopWindow() {
  return requests.get( {
    url: '/marketing/open/app/popConfig/getPopWindow',
  })
}

// 增加查阅量
export function addReadTimes(data) {
  return requests.post( {
    url: '/marketing/app/popConfig/addReadTimes',
    data:data
  })
}

// 记录用户最后弹窗时间
export function recordCustomerPop(data) {
  return requests.post( {
    url: '/marketing/open/app/popConfig/recordCustomerPop',
    data:data
  })
}